package sum.Controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/page")
public class PageController {
    @RequestMapping(value = "/register",produces = "application/json;charset=utf-8")
    public String register()
    {
        return "register";
    }
    @RequestMapping(value = "/login",produces = "application/json;charset=utf-8")
    public String login()
    {
        return "login";
    }
    @RequestMapping("/changepwd")
    public String changepwd()
    {
        return "changepassword";
    }
    @RequestMapping("/mainmenu")
    public String mainmenu()
    {
        return "mainmenu";
    }
}
